﻿<div>
    <h1>Publisher</h1>
    <form class="form-inline" role="form">
        <div class="form-group">
            <input type="text" class="form-control" placeholder="message" data-bind="value: message, valueUpdate: 'afterkeydown'">
        </div>
        <button type="submit" class="btn btn-default" data-bind="click: publish, enable: canPublish">Publish</button>
    </form>
</div>